package com.dmap.admin.constants;

/**
 * \* User: helei
 * \* Date: 03/09/18
 * \* Description:
 * \
 */
public class PlanTimerConstant {
    private PlanTimerConstant() {
    }
    //wrong code

    //plan constant
    public static final Integer COMPLETE_STATUS = 1;        //1已完成
    public static final Integer NOT_COMPLETE_STATUS = 2;    //2未完成

    public static final Integer REMIND = 1; //1提醒，2不提醒
    public static final Integer NO_REMIND = 2;

    public static final Integer REPEAT_TYPE_DAY = 1;//下拉列表，选择: 0永不, 1天、2周、3月、4年
    public static final Integer REPEAT_TYPE_WEEK = 2;
    public static final Integer REPEAT_TYPE_MONTH = 3;
    public static final Integer REPEAT_TYPE_YEAR = 4;

    public static final Long ONE_DAY_SECONDS = 86400L;//1天(d)=86400秒(s)

    public static final int ONE_WEEK = 7;

    public static final String EMAIL_ADDRESS = "silentiu@smartmovt.com";
    public static final String EMAIL_SUBJECT = "计划重复功能定时任务异常";
    public static final String ADMIN_EMAIL_SUBJECT = "admin服务 每日自动将所有用户登陆错误次数置为0 定时任务";
    public static final String ACTIVITY_EMAIL_SUBJECT = "activity服务 世界杯活动计划每1小时推送一次 定时任务";

    public static final Integer PAGE_SIZE_1000 = 1000;//一次查1000条数据

}
